package com.hxzy.module.auth.mapper;

import com.hxzy.module.auth.entity.AdminAccount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 11452
* @description 针对表【admin_account(总部账户表)】的数据库操作Mapper
* @createDate 2024-01-25 17:07:36
* @Entity com.hxzy.module.auth.entity.AdminAccount
*/
public interface AdminAccountMapper extends BaseMapper<AdminAccount> {

    /**
     * 查询后台总长账户
     * @param username
     * @param merchantId
     * @return
     */
    AdminAccount findByUserName(@Param(value = "username") String username, @Param(value = "merchantId") long merchantId);
}




